package #PACKAGE#;

import java.util.List;
import #MODEL_PKG#.Pager;
import #MODEL_PKG#.QueryCondition;
import #MODEL_PKG#.#CLASSNAME#;
//import #PACKAGE#.BussnessService;

public interface #CLASSNAME#Service{
	
	public Pager<#CLASSNAME#> findAll(String ascProperty,boolean isAsc,int start,int limit) ;
	
	public Pager<#CLASSNAME#> findAll(String ascProperty,boolean isAsc,int start,int limit,List<QueryCondition> entities);
	
	public void saveOrUpdate(#CLASSNAME# model);
	
	public void updateAttr(String attr,Object val,Long id);
	
	public void delete(Long id);
	
	public void attrDeletes(String attr,Object val);
	
	public void deleteBulk(List<#CLASSNAME#> list);
	
	public #CLASSNAME# get(Long id);
	
}
